home *** CD-ROM | disk | FTP | other *** search
-
-
-
- tttttttt____ooooppppeeeennnn((((3333)))) tttttttt____ooooppppeeeennnn((((3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- tt_open - return the process identifier for the calling process
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<TTTTtttt////tttttttt____cccc....hhhh>>>>
- cccchhhhaaaarrrr ****tttttttt____ooooppppeeeennnn((((vvvvooooiiiidddd))));;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The tttttttt____ooooppppeeeennnn() function returns the process identifier for the calling
- process.
-
- RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
- The tttttttt____ooooppppeeeennnn() function also sets this identifier as the default procid
- for the process. The tttttttt____ooooppppeeeennnn(3) function is typically the first ToolTalk
- function called by a process.
-
- The application must call tttttttt____ooooppppeeeennnn(3) before other _t_t_ calls are made.
- However, there are two exceptions: tttttttt____ddddeeeeffffaaaauuuulllltttt____sssseeeessssssssiiiioooonnnn____sssseeeetttt(3) and
- tttttttt____XXXX____sssseeeessssssssiiiioooonnnn(3) can be called before tttttttt____ooooppppeeeennnn().
-
- A process can call tttttttt____ooooppppeeeennnn() more than once to obtain multiple procids.
- To open another session, the process must make the following calls in the
- order specified:
-
- tttttttt____ddddeeeeffffaaaauuuulllltttt____sssseeeessssssssiiiioooonnnn____sssseeeetttt(3)
- tttttttt____ooooppppeeeennnn()
-
- RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
- Upon successful completion, the tttttttt____ooooppppeeeennnn() function returns the character
- value that uniquely identifies the process. The application can use
- tttttttt____ppppttttrrrr____eeeerrrrrrrroooorrrr(3) to extract one of the following TTTTtttt____ssssttttaaaattttuuuussss values from the
- returned pointer:
-
- TTTTTTTT____OOOOKKKK The operation completed successfully.
-
- TTTTTTTT____EEEERRRRRRRR____NNNNOOOOMMMMPPPP
- The ttttttttsssseeeessssssssiiiioooonnnn(1) process is not running and the ToolTalk
- service cannot restart it.
-
- AAAAPPPPPPPPLLLLIIIICCCCAAAATTTTIIIIOOOONNNN UUUUSSSSAAAAGGGGEEEE
- The application should use tttttttt____ffffrrrreeeeeeee(3) to free any data stored in the
- address returned by the ToolTalk API.
-
- Each procid has its own associated file descriptor, and can join another
- session. To switch to another procid, the application should call
- tttttttt____ddddeeeeffffaaaauuuulllltttt____pppprrrroooocccciiiidddd____sssseeeetttt().
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- TTTTtttttttttttt____cccc(5), tttttttt____ffffdddd(3), tttttttt____ddddeeeeffffaaaauuuulllltttt____pppprrrroooocccciiiidddd(3), tttttttt____ddddeeeeffffaaaauuuulllltttt____pppprrrroooocccciiiidddd____sssseeeetttt(3),
- tttttttt____ddddeeeeffffaaaauuuulllltttt____sssseeeessssssssiiiioooonnnn(3), tttttttt____ddddeeeeffffaaaauuuulllltttt____sssseeeessssssssiiiioooonnnn____sssseeeetttt(3), tttttttt____ppppttttrrrr____eeeerrrrrrrroooorrrr(3),
- tttttttt____ffffrrrreeeeeeee(3).
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-